package com.jxc.jxcmanage.code.mapper;

import java.util.List;
import com.jxc.jxcmanage.code.entity.ProductInventory;
import com.jxc.jxcmanage.dto.ProductInventoryDto;

public interface ProductInventoryMapper {

	int deleteByPrimaryKey(Long id);

	int insert(ProductInventory record);

	int insertSelective(ProductInventory record);

	ProductInventory selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(ProductInventory record);

	int updateByPrimaryKey(ProductInventory record);

	// 分页查询
	List<ProductInventoryDto> list(ProductInventoryDto param);
	ProductInventoryDto findBySupplierAndProduct(ProductInventoryDto param);
}
